cmake_minimum_required(VERSION 3.5.0)

project(ptz_pro)

#######################################################
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR aarch64)
SET(CMAKE_C_COMPILER "aarch64-linux-gnu-gcc")
SET(CMAKE_CXX_COMPILER "aarch64-linux-gnu-g++")
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_BUILD_TYPE "RELEASE")

#######################################################
# 引用
include_directories(model)


#######################################################

# 获取目录下的指定文件
file(GLOB_RECURSE MODEL_INC ./model/*.h)
file(GLOB_RECURSE MODEL_SRC ./model/*.cpp)

# 生成可执行文件
add_executable(run_tset main.cpp ${MODEL_INC} ${MODEL_SRC})

# # 链接第三方库
# target_link_libraries(run_tset 
#     # avformat
#     # avcodec
#     # avutil
#     # opencv_core
#     # opencv_highgui
#     # opencv_imgproc
#     # opencv_imgcodecs
#     # rga
#     # rockchip_mpp
# )
